<?php

// upload_dir must be a single public root level directory
$config['upload_dir'] = 'medias/uploads';

$config['primary_dir'] = 'images/'.date('Y');

$config['secondary_dir'] = date('m');

$config['acceptable_files'] = 'gif|jpg|jpeg|png';

$config['max_kb'] = '2048';

$config['max_width'] = '1000';

$config['max_height'] = '1000';